package com.zhyl.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Specialty {
    private int id;
    private int xid;//上级id
    private String sname;
    private String info;
    private List<Specialty> child;
}
